home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Event;
- import java.io.DataInputStream;
-
- public class bob50 extends bob {
- private double _$885;
- private double _$893;
- private double _$902;
- private double _$912;
- private boolean _$921;
- private double _$925;
-
- // $FF: renamed from: rd (java.io.DataInputStream) void
- public void method_0(DataInputStream var1) {
- try {
- this._$885 = var1.readDouble();
- this._$902 = this._$925 = var1.readDouble();
- this._$912 = var1.readDouble();
- } catch (Exception var3) {
- }
-
- }
-
- private void _$977(double var1, double var3) {
- if (var1 < var3) {
- for(double var5 = Math.ceil(var1); var5 < var3; ++var5) {
- ((bob)this).ce(new bob10(var5), 2);
- }
- } else {
- for(double var7 = Math.floor(var1); var7 > var3; --var7) {
- ((bob)this).ce(new bob10(var7), 2);
- }
- }
-
- }
-
- private void _$1017(double var1) {
- if (var1 > (double)1) {
- if (this._$921) {
- var1 %= (double)1;
- if (this._$902 < this._$912 && var1 * (this._$912 - this._$902) + this._$902 < this._$925) {
- this._$1017((double)1.0F);
- this._$925 = this._$902;
- } else if (this._$902 > this._$912 && var1 * (this._$912 - this._$902) + this._$902 > this._$925) {
- this._$1017((double)1.0F);
- this._$925 = this._$902;
- }
- } else {
- var1 = (double)1.0F;
- ((bob)this).el(0, 10);
- }
- }
-
- double var3 = var1 * (this._$912 - this._$902) + this._$902;
- ((bob)this).ce(new bob10(var3), 1);
- this._$977(this._$925, var3);
- if (var1 == (double)1) {
- ((bob)this).ce(new bob10(this._$912), 2);
- }
-
- this._$925 = var3;
- }
-
- // $FF: renamed from: he (java.awt.Event) void
- public void method_1(Event var1) {
- if (var1.id == 10) {
- double var2 = ((double)super.m.ft - this._$893) / this._$885;
- this._$1017(var2);
- } else if (var1.id != 1 && var1.id != 2) {
- if (var1.id == 3) {
- ((bob)this).el(0, 10);
- } else if (var1.id == 4) {
- this._$902 = this._$925 = ((bob10)var1.arg).value;
- } else if (var1.id == 5) {
- this._$912 = ((bob10)var1.arg).value;
- } else if (var1.id == 6) {
- this._$885 = ((bob10)var1.arg).value;
- }
- } else {
- this._$921 = var1.id != 1;
- this._$893 = (double)super.m.ft;
- this._$925 = this._$902;
- this._$1017((double)0.0F);
- ((bob)this).el(0, 10);
- ((bob)this).sl(0, 10);
- }
-
- }
- }
-